""""
轮盘赌选择改进：选择一批高于平均适应度
"""
import numpy as np


def Sus(FitnV):
    """
    选择个体的序引号,轮盘选择策略
    """
    midFitnV = np.mean(FitnV)
    NewChrIxTuple = np.where(FitnV > midFitnV)
    NewChrIx = NewChrIxTuple[0].tolist()
    np.random.shuffle(NewChrIx)
    return NewChrIx








